/* Simple one-at-a-time gallery matching original size */
#ng-simple-gallery.simple-gallery {
  position: relative;
  width: 900px;
  height: 650px;
  background: #000;
  overflow: hidden;
}
#ng-simple-gallery .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}
#ng-simple-gallery .slide.active { opacity: 1; }
#ng-simple-gallery .arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 21px;
  background: rgba(255,255,255,0.65);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
#ng-simple-gallery .arrow:hover { background: rgba(255,255,255,0.85); }
#ng-simple-gallery .arrow.prev { left: 12px; }
#ng-simple-gallery .arrow.next { right: 12px; }
#ng-simple-gallery .arrow span { font: 700 20px/1 system-ui; }

/* Hide original broken slider to avoid double render */
#slider1035_container { display: none !important; }

/* Thumbnails strip */
#ng-simple-gallery .thumbs {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}
/* Track area holds thumbnails and scrolls horizontally */
#ng-simple-gallery .thumbs .viewport {
  max-width: 510px; /* 6 thumbs: 6*80 + 5*6 gap = 510 */
  overflow: hidden;
}
#ng-simple-gallery .thumbs .track {
  display: flex;
  gap: 6px;
  will-change: transform;
  transition: transform 200ms ease-in-out;
}

#ng-simple-gallery .thumbs .thumb {
  width: 80px;
  min-width: 80px;
  height: 60px;
  background-position: center center;
  background-size: cover;
  border: 2px solid transparent;
  opacity: 0.7;
  cursor: pointer;
}
#ng-simple-gallery .thumbs .thumb:hover { opacity: 0.9; }
#ng-simple-gallery .thumbs .thumb.active {
  border-color: #fff;
  opacity: 1;
}
#ng-simple-gallery .arrow { z-index: 3; }

/* Thumbnail navigation arrows */
#ng-simple-gallery .thumbs .tarrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin: 0 6px;
  border-radius: 13px;
  background: rgba(255,255,255,0.65);
  color: #000;
  cursor: pointer;
  user-select: none;
}
#ng-simple-gallery .thumbs .tarrow:hover { background: rgba(255,255,255,0.85); }
